const _import = require('./_import');
import Layout from '@/page/index/'
export default [ {
  path : '/login',
  name : '登录页',
  component : _import('login/index'),
  // component : require('@/page/login/index'),
  meta : {
    keepAlive : true,
    isTab : false,
    isAuth : false
  }
}, {
  path : '/wel',
  component : Layout,
  redirect : '/wel/index',
  children : [ {
    path : 'index',
    name : '首页',
    component : _import('wel')
    // component : require('@/page/wel')

  } ]
}, {
  path : '/lock',
  name : '锁屏页',
  component : _import('lock/index'),
  meta : {
    keepAlive : true,
    isTab : false,
    isAuth : false
  }
}, {
  path : '*',
  redirect : '/404'
}, {
  path : '/404',
  component : _import('error-page/404','components'),
  name : '404',
  meta : {
    keepAlive : true,
    isTab : false,
    isAuth : false
  }
}, {
  path : '/403',
  component : _import('error-page/403','components'),
  name : '403',
  meta : {
    keepAlive : true,
    isTab : false,
    isAuth : false
  }
}, {
  path : '/500',
  component : _import('error-page/500','components'),
  name : '500',
  meta : {
    keepAlive : true,
    isTab : false,
    isAuth : false
  }
}, {
  path : '/',
  name : '主页',
  redirect : '/wel'
}, {
  path : '/myiframe',
  component : Layout,
  redirect : '/myiframe',
  children : [ {
    path : ':routerPath',
    name : 'iframe',
    component : _import('iframe/main','components'),
    props : true
  } ]
}, {
  path : '/authredirect',
  name : '授权页',
  component : _import('login/authredirect'),
  meta : {
    keepAlive : true,
    isTab : false,
    isAuth : false
  }
}]

